.PeripheralA01,
.PeripheralB01 {
	width: 100%;
	height: 100%;
	padding: 8px;

	.ant-tree {
		background: transparent;

		.ant-tree-switcher {
			& > span {
				color: white;
				font-size: 16px;
			}
		}

		.ant-tree-treenode {
			width: 100%;
		}

		.ant-tree-node-content-wrapper {
			width: 100%;
			color: #ffffff;
			font-size: 16px;
			font-family: ShuHeiTi;
			font-weight: bold;
		}

		.ant-tree-node-selected {
			color: #262626;
		}
	}

	.personName {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}

.Peripheral001 {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;

	& > .Box {
		position: absolute;
		left: 0;
		top: 0;
		bottom: 15px;
		width: 480px;
		z-index: 2;

		.body {
			width: 100%;
			height: 100%;
			padding: 16px;
			overflow-y: scroll;

			& > .header {
				margin-bottom: 4px;

				& > .title {
					display: flex;
					align-items: center;
					justify-content: space-between;
					background: rgba(0, 0, 0, 0.2);
					padding: 8px;
					border-radius: 4px;
					cursor: pointer;

					& > div {
						font-size: 20px;
						font-family: ShuHeiTi;
						font-weight: bold;
						color: #ffffff;
					}

					& > span {
						font-size: 16px;
						color: #ffffff;
					}
				}

				& > .item {
					height: auto;
					overflow: hidden;
					transition: all 0.35s;

					&.Hidden {
						height: 0;
					}
				}
			}
		}
	}
}

.PeripheralB01 {
	position: relative;

	& > .Alarm,
	& > .Mic,
	& > .Audio,
	& > .Video {
		position: fixed;
		right: 0;
		width: 400px;
		overflow: hidden;
		transition: all 0.35s;

		&.Alarm {
			top: 140px;
			height: 140px;

			.Box {
				width: 100%;
				height: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;

				& > div {
					color: #ffffff;
					font-size: 16px;
					font-family: ShuHeiTi;
					font-weight: bold;
					margin-bottom: 8px;
					display: flex;
					align-items: center;
					justify-content: center;

					& > button {
						width: 160px;
						margin: 0 8px;
					}
				}
			}
		}

		&.Mic {
			top: 290px;
			height: 140px;

			.Box {
				width: 100%;
				height: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;

				& > div {
					color: #ffffff;
					font-size: 16px;
					font-family: ShuHeiTi;
					font-weight: bold;
					margin-bottom: 8px;
				}

				& > button {
					width: 200px;
				}
			}
		}

		&.Audio {
			top: 440px;
			height: 140px;

			.Box {
				width: 100%;
				height: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;

				& > div {
					color: #ffffff;
					font-size: 16px;
					font-family: ShuHeiTi;
					font-weight: bold;
					margin-bottom: 8px;
				}

				& > button {
					width: 200px;
				}
			}
		}

		&.Video {
			top: 590px;
			width: 600px;
			height: 400px;

			.Box {
				width: 100%;
				height: 100%;
				position: relative;
				z-index: 1;

				& > video {
					width: 100%;
					height: 100%;
					object-fit: cover;
				}

				& > div {
					position: absolute;
					z-index: 1;
					left: 0;
					bottom: 16px;
					display: flex;
					align-items: center;
					justify-content: center;
					width: 100%;

					& > button {
						width: 160px;
						margin: 0 8px;
					}
				}
			}
		}
	}
}
